//
//  Plant.h
//  PlotMate
//
//  Created by Brian Boyle on 26/04/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Bed, Plant, PlantSet;

@interface Plant : NSManagedObject

@property (nonatomic, retain) NSString * category;
@property (nonatomic, retain) NSString * desc;
@property (nonatomic, retain) NSString * harvestMonths;
@property (nonatomic, retain) NSNumber * isFavourite;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSString * position;
@property (nonatomic, retain) NSString * season;
@property (nonatomic, retain) NSString * soil;
@property (nonatomic, retain) NSString * sowMonths;
@property (nonatomic, retain) NSString * uppercaseFirstLetterOfName;
@property (nonatomic, retain) NSSet *beds;
@property (nonatomic, retain) NSSet *companions;
@property (nonatomic, retain) NSSet *incompatibles;
@property (nonatomic, retain) NSSet *plantSets;
@end

@interface Plant (CoreDataGeneratedAccessors)

- (void)addBedsObject:(Bed *)value;
- (void)removeBedsObject:(Bed *)value;
- (void)addBeds:(NSSet *)values;
- (void)removeBeds:(NSSet *)values;

- (void)addCompanionsObject:(Plant *)value;
- (void)removeCompanionsObject:(Plant *)value;
- (void)addCompanions:(NSSet *)values;
- (void)removeCompanions:(NSSet *)values;

- (void)addIncompatiblesObject:(Plant *)value;
- (void)removeIncompatiblesObject:(Plant *)value;
- (void)addIncompatibles:(NSSet *)values;
- (void)removeIncompatibles:(NSSet *)values;

- (void)addPlantSetsObject:(PlantSet *)value;
- (void)removePlantSetsObject:(PlantSet *)value;
- (void)addPlantSets:(NSSet *)values;
- (void)removePlantSets:(NSSet *)values;

@end
